package com.shujia.day17;

import java.util.function.Supplier;

public class Code12LambdaFunction {
    public static void main(String[] args) {
        /*
            @FunctionalInterface
            public interface Supplier<T> {
                T get();
            }
         */

        Supplier<Student> supplier = () -> new Student("张东东");
        System.out.println(supplier.get());

    }
}
